// Test comment
/*
 * MainApplet.java
 *
 * Created on 31 de octubre de 2008, 18:36
 */
package mrs.app;


/**
 *
 * @author  pablo
 */
public class MainApplet extends javax.swing.JApplet {

  /** Initializes the applet MainApplet */
  public void init() {
    try {
      java.awt.EventQueue.invokeAndWait(new Runnable() {

        public void run() {
          initComponents();
          try {
            mainPanel1.initGUI();
          } catch (Exception ex) {
          }
        }
      });
    } catch (Exception ex) {
      ex.printStackTrace();
    }
  }

  /** This method is called from within the init() method to
   * initialize the form.
   * WARNING: Do NOT modify this code. The content of this method is
   * always regenerated by the Form Editor.
   */
  @SuppressWarnings("unchecked")
  // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
  private void initComponents() {

    try {
      mainPanel1 = new mrs.gui.Scenario1Panel();
    } catch (java.lang.Exception e1) {
      e1.printStackTrace();
    }

    javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
    getContentPane().setLayout(layout);
    layout.setHorizontalGroup(
      layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGroup(layout.createSequentialGroup()
        .addContainerGap()
        .addComponent(mainPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
        .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
    );
    layout.setVerticalGroup(
      layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
      .addGroup(layout.createSequentialGroup()
        .addContainerGap()
        .addComponent(mainPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
        .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
    );
  }// </editor-fold>//GEN-END:initComponents
  // Variables declaration - do not modify//GEN-BEGIN:variables
  private mrs.gui.Scenario1Panel mainPanel1;
  // End of variables declaration//GEN-END:variables
}
